package testiranjeSoftvera.actions;

import java.awt.event.ActionEvent;
import java.awt.event.KeyEvent;

import javax.swing.JOptionPane;
import javax.swing.KeyStroke;

import testiranjeSoftvera.phage.PhageCore;

public class AboutAction extends AbstractTestAction {

	private static final long serialVersionUID = 1408861452400614689L;

	public AboutAction() {
		putValue(ACCELERATOR_KEY,
				KeyStroke.getKeyStroke(KeyEvent.VK_A, ActionEvent.CTRL_MASK));
		putValue(javax.swing.Action.NAME, "About Us");
		putValue(SHORT_DESCRIPTION, "About Us");
		putValue(SMALL_ICON, loadIcon("images/filenew.png"));
	}

	@Override
	public void actionPerformed(ActionEvent e) {
		JOptionPane.showMessageDialog(PhageCore.getInstance(),
				"Projekat iz testiranja softvera " + "\n" + "Hristina Zlateska"
						+ "\n" + "Mrdjan Stajic" + "\n" + "Branko Conjic"
						+ "\n" + "Nemanja Velickovic Dubai", "O nama",
				JOptionPane.INFORMATION_MESSAGE);

	}

}
